import EnumManager from '../../../../../utils/enum.js'

export const FIELD_TYPE_ENUM = new EnumManager({
  DATETIME: { value: 'datetime', label: '时间' },
})

export const DATETIME_TYPE_ENUM = new EnumManager({
  DATE: { value: 'date', label: '日期' },
  DATE_RANGE: { value: 'dateRange', label: '日期范围' },
  DATETIME: { value: 'datetime', label: '时间' },
  DATETIME_RANGE: { value: 'datetimeRange', label: '时间范围' },
})

export const REQUIRED_ENUM = new EnumManager({
  TRUE: { value: true, label: '必填' },
  FALSE: { value: false, label: '非必填' },
})
